package com.Interface.TestIO;

import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.Writer;

public class test7 {
    public static void main(String[] args) throws Exception {
        String path = "D:\\JAVA\\schoolSystem\\src\\com\\Interface\\TestIO\\file\\1.txt";

        Writer writer = new FileWriter(path,true);
        BufferedWriter bufferedWriter  = new BufferedWriter(writer);

        bufferedWriter.newLine();
        bufferedWriter.write("sfdon你打搜");
        bufferedWriter.close();

    }
}
